package cn.wolfcode.web.mapper;

import cn.wolfcode.web.domain.Role;
import cn.wolfcode.web.query.QueryObject;
import java.util.List;

public interface RoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    int updateByPrimaryKey(Role record);

    int queryForCount(QueryObject qo);

    List<Role> queryForList(QueryObject qo);

    List<Role> selectById(Long id);
}